<?php
/**
 * Created by PhpStorm.
 * User: zifeng
 * Date: 2017/7/14
 * Time: 0:34
 */
require_once 'Animal.php';
require_once 'IChange.php';
//require_once 'Cat.php';
//require_once 'Monkey.php';
require_once 'JingleCat.php';
require_once 'StoneMonkey.php';


$catTom = new Cat('Tom');
$jingleCat = new JingleCat('多啦A梦');
$wukong = new StoneMonkey('悟空');
$catTom->shout();
$jingleCat->shout();
$jingleCat->changeSomeThing("任意门");
$wukong->shout();
$wukong->changeSomeThing("悟空");